package com.yami.shop.sys.common.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yami.shop.sys.common.model.ShopMenuLang;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 店铺菜单-国际化表
 *
 * @author YXF
 * @date 2021-08-09 09:51:55
 */
public interface ShopMenuLangMapper extends BaseMapper<ShopMenuLang> {

    /**
     * 批量保存
     *
     * @param menuLangList
     */
    void batchSave(@Param("menuLangList") List<ShopMenuLang> menuLangList);

    /**
     * 删除指定菜单的语言数据
     * @param menuId
     */
    void deleteByMenuId(@Param("menuId") Long menuId);
}
